<!DOCTYPE html>
<html>
<head>
    <title>钱包管理</title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <input type="text" class="form-control" v-model="q.keyWord" @keyup.enter="query" placeholder="uid,手机" style="width: 150px;display:inline;">
            <select id="combo" class="combobox form-control col-sm-5"
                    style="width: 150px;display:inline;" v-model="q.type"  @keyup.enter="query">
                <option value="" selected="selected">--全部--</option>
                <option value="0">待定</option>
                <option value="1">人民币</option>
                <option value="2">USDT</option>
            </select>
            <div class="form-group col-sm-2">
                <input type="text" readonly="true" style="width:40%"  class="form-control col-sm-4" v-model="q.startTime" id="createTime" @keyup.enter="query" placeholder="开始日期">
                <input type="text" readonly="true"  style="width:40%"  class="form-control col-sm-3" v-model="q.endTime" id="endTime" @keyup.enter="query" placeholder="结束日期">
            </div>
            <a class="btn btn-primary" @click="clear_s">清除开始</a>
            <a class="btn btn-primary" @click="clear_e">清除结束</a>
            <a class="btn btn-primary" @click="reload">查询</a>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
            <a class="btn btn-primary" @click="download"><i class="fa fa-pencil-square-o"></i>&nbsp;导出</a>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
                <div class="form-group">
                    <div class="form-group">
                        <div class="col-sm-2 control-label">操作钱包类型</div>
                        <div class="col-sm-10">
                            <select class="combobox form-control col-sm-2" style="width: 50%"  v-model="form.type">
                                <option selected value="1">参投余额_人民币</option>
                                <option value="2">参投余额_USDT</option>
                                <option value="3">提现余额_人民币</option>
                                <option value="4">提现余额_USDT</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">修改金额</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="form.amount" placeholder="+ - 金额"/>
                        </div>
                    </div>
                    <!--<div class="form-group">-->
                        <!--<div class="col-sm-2 control-label">修改投资类型</div>-->
                        <!--<div class="col-sm-10">-->
                            <!--<input type="text" class="form-control" v-model="form.walletType" placeholder="1 人民币, 2 USDT"/>-->
                        <!--</div>-->
                    <!--</div>-->
                <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" id="btnSaveOrUpdate" data-loading-text="保存中..." @click="saveOrUpdate" value="确定"/>
                <input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/biz/wallet.js?_${.now?long}"></script>
</body>
</html>